<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>

<body>
	<?php
	$num1 = $_POST['num1'];	
	$num2 = $_POST['num2'];	
	//$data = $num1.$num2."陈义林";
	//echo json_encode($data);
	
	
		$mysqli=new mysqli("localhost","root","","test_db");
		$sql="insert into `user` (username,password) values (".$num1.",".$num2.")";
		$rs=$mysqli->query($sql);
		
		
	?>
</body>
</html>